#pragma once
#include<memory>
#include "Vehicle.h"

class AbstractLogistics {
public:
	virtual ~AbstractLogistics(){}
	virtual std::shared_ptr<AbstractVehicle> CreateTransport()const = 0;
	std::string PlaneDeliver()const;
};

class SeaLogistics :public AbstractLogistics {
public:
	std::shared_ptr<AbstractVehicle> CreateTransport()const;
};

class RoadLogistics :public AbstractLogistics {
public:
	std::shared_ptr<AbstractVehicle> CreateTransport()const;
};